GXDrawPolygons
You can use theGXDrawPolygons
function to draw polygon contours without creating a polygon shape.
void GXDrawPolygons(const gxPolygons *data, gxShapeFill fill);
data
- A pointer to the polygon geometry you want to draw.
fill
- The shape fill to use when drawing the polygon contours.
DESCRIPTION
TheGXDrawPolygons
function draws the polygon geometry specified by thedata
parameter, using the shape fill specified by thefill
parameter, and the style, ink, and transform of the default polygon shape.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory parameter_is_nil (debugging version) SEE ALSO
For more information about polygons and the default polygon shape, see "Polygon Shapes" on page 2-22.For the definition of the
gxPolygons
structure, see page 2-106.For examples using this function, see "Creating and Drawing Polygons" beginning on page 2-45.
For more information about drawing shapes, see the description of the
GXDrawShape
function in the chapter "Shape Objects" in Inside Macintosh: QuickDraw GX Objects.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help